<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8" import="dao.*,pojo.*,service.*"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
<% request.setCharacterEncoding("utf-8");
UserAddress u =(UserAddress)session.getAttribute("U");
int uid=u.getUid();
%>
<form action="<%=request.getContextPath()%>/UserAddressServlet" name="update" method="post"><br>
<input  type="hidden" name="method" value="update">
登录人用户:<input type="text" name="c_name" value=<%=u.getC_name() %>><br>
收件人姓名:<input type="text" name="name" value=<%=u.getName() %>><br>
收件人地址:<input type="text" name="address" value=<%=u.getAddress() %>><br>
收件人电话:<input type="text" name="tel" value=<%=u.getTel()%>><br>
<input type="submit" value="确定"> 
<input type="reset" value="取消">
</form>
</body>
</html>